//
// Created by Mzoro on 2022/4/19.
//

#include <stdio.h>
#include "includes/includes.h"

#define WORD_LENGTH 100

int main() {

    struct node *ROOT;
    char word[WORD_LENGTH];
    while (getWord(word, WORD_LENGTH) != EOF) {
        ROOT = search(word, ROOT);
    }

    printWord(ROOT);
    return 0;
}